/*
 * CCIS
 * (C) Copyright Code MZ, Ltd. 2014,  All Rights Reserved.
 */
package com.beetlestech.nfe.main.biz.com.dto;

/**
 * Mast Value Biz DTO
 *
 * History
 * REV.         Updated Date           Updater              Infomation
 * -------      ---------------        ----------------     ------------------
 * 1.0          2014/08/29             TOOL                 Create
*
 */
@com.beetlestech.nfe.fw.core.type.AliasKanJi("Car Information")
public class MastValueDTO implements java.io.Serializable, Comparable<MastValueDTO> {
	/**
	* System ID
	*/
	private static final long serialVersionUID = 1L;
	
	private String masterName = null;
	
	private CodeWithValueDTO[] codeWithValueDTOArray = null;
	
	public String getMasterName() {
		return this.masterName;
	}

	public void setMasterName(
			String masterName) {
		this.masterName = masterName;
	}
	
	public CodeWithValueDTO[] getCodeWithValueDTOArray() {
		return this.codeWithValueDTOArray;
	}

	public void setCodeWithValueDTOArray(
			CodeWithValueDTO[] codeWithValueDTOArray) {
		this.codeWithValueDTOArray = codeWithValueDTOArray;
	}

	
  	/* (non-Javadoc)
     * @see java.lang.Comparable#compareTo(java.lang.Object)
     */
    @Override
    public int compareTo(
    		MastValueDTO compareToDTO) {
        return this.equals(compareToDTO) ? 0 : -1;
    }
}
